package com.bdqn.cloud.t320;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


//激活 Eureka 中的 EnableEurekaClient 功能
@EnableEurekaClient
@SpringBootApplication
@EnableFeignClients
@EnableHystrix
public class CloudServicePortal7001Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudServicePortal7001Application.class, args);
    }
}
